package com.dfbz.springboot_project.service;

import com.dfbz.springboot_project.entity.AdminInfo;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface AdminInfoService {
    List<AdminInfo> selectAll();
    AdminInfo selectByName(String username);
    PageInfo<AdminInfo> selectPage(Integer pageNum, Integer pageSize);

    AdminInfo selectOneByAid(Integer Aid);
    void deleteById(Integer Aid);

    void InsertSelective(Map<String, Object> params);

    void update(Map<String, Object> params);
}
